Console Color Providers
Identifier:
org.eclipse.debug.ui.consoleColorProviders
Since:
2.1
Description:
This extension point provides a mechanism for contributing a console document coloring scheme for a process. The color provider will be used to color output in the console.
Configuration Markup:
<!ELEMENT extension (consoleColorProvider*)>
<!ATTLIST extension
point CDATA #REQUIRED
id CDATA #IMPLIED
name CDATA #IMPLIED>
- point - a fully qualified identifier of the target extension point
- id - an optional identifier of the extension instance
- name - an optional name of the extension instance
<!ELEMENT consoleColorProvider EMPTY>
<!ATTLIST consoleColorProvider
id CDATA #REQUIRED
class CDATA #REQUIRED
processType CDATA #REQUIRED>
- id - specifies a unique identifier for this console color provider.
- class - specifies a fully qualified name of a Java class that implements IConsoleColorProvider
- processType - specifies the type of process this color provider is for. This attribute corresponds to the process attribute IProcess.ATTR_PROCESS_TYPE.
Examples:
The following is an example of a console color provider extension point:
<extension point=
"org.eclipse.debug.ui.consoleColorProviders"
>
<consoleColorProvider
id=
"com.example.ExampleConsoleColorProvider"
class=
"com.example.ExampleConsoleColorProvider"
processType=
"ExampleProcessType"
>
</consoleColorProvider>
</extension>
In the above example, the contributed color provider will be used for processes of type "ExampleProcessType", which corresponds to the process attribute IProcess.ATTR_PROCESS_TYPE. Process types are client defined, and are set by clients that create processes.
API Information:
Value of the attribute class must be a fully qualified name of a Java class that implements the interface org.eclipse.debug.ui.console.IConsoleColorProvider.